<?php

use yii\helpers\Url;

?>
<style>
    .sapn:style="font-size:20px";

</style>

<div id="break-crumbs">
    <i class="icon-home"></i>&nbsp;<a href="<?= Url::to('@web/welcome/index') ?>">首页</a>&nbsp;
    <?php if( ! empty($this->crumbs)) {
        foreach($this->crumbs as $crumbs) {
            if($crumbs['url']) {
                echo "<i class=\"icon-double-angle-right\"></i>&nbsp;<a href=\"{$crumbs['url']}\">{$crumbs['title']}</a>&nbsp;";
            }
            else {
                echo "<i class=\"icon-double-angle-right\"></i>&nbsp;{$crumbs['title']}&nbsp;";
            }
        }
    } ?>
    <i class="icon-double-angle-right"></i>&nbsp;<?= $this->title ?>
</div>